package com.emergency.embackend.service;

import com.emergency.embackend.entity.CollectOperate;
import com.emergency.embackend.entity.LikeOperate;
import com.emergency.embackend.param.VideoOperate;

/**
 * @author chddd
 * @description
 * @create 2024/2/28 22:42:59
 */
public interface OperateService {
    Integer like(Long videoId,char type);

    Integer collect(Long videoId,char type);

    void addViews(Long id,Long userId,char status);

    void handlerLikeData(LikeOperate likeOperate);

    void handlerCollectData(CollectOperate collectOperate);

    Long getLikeOrCollectCount(String key);

}
